package com.dykj.fireFighting.api.socialUnit.buildmanger.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dykj.fireFighting.common.core.dto.CommonDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * @author aixiaolan
 * @date 2021/6/22 1:49 PM
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("楼栋管理对象")
public class BuildingDto extends CommonDto {

    private static final long serialVersionUID = -6811562866999855380L;

    @TableId
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private String createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;
    /**
     * 删除标识 0已删除 1未删除
     */
    @ApiModelProperty(value = "删除标识 0已删除 1未删除")
    @TableField("is_del")
    private Integer isDel;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @TableField("update_by")
    private String updateBy;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;
    /**
     * 单位id
     */
    @ApiModelProperty(value = "单位id")
    @TableField("unit_id")
    private String unitId;
    /**
     * 楼栋名称
     */
    @ApiModelProperty(value = "楼栋名称")
    private String name;
    /**
     * 使用性质
     */
    @ApiModelProperty(value = "使用性质")
    @TableField("nature_of_use")
    private String natureOfUse;
    /**
     * 耐火等级
     */
    @ApiModelProperty(value = "耐火等级")
    @TableField("fire_resistance_rating")
    private String fireResistanceRating;
    /**
     * 结构类型
     */
    @ApiModelProperty(value = "结构类型")
    @TableField("structure_type")
    private String structureType;
    /**
     * 建筑高度
     */
    @ApiModelProperty(value = "建筑高度")
    @TableField("building_height")
    private Double buildingHeight;
    /**
     * 地上层数
     */
    @ApiModelProperty(value = "地上层数")
    @TableField("floors_up")
    private Integer floorsUp;
    /**
     * 地上层数
     */
    @ApiModelProperty(value = "地上层数")
    @TableField("floors_down")
    private Integer floorsDown;
    /**
     * 地上面积
     */
    @ApiModelProperty(value = "地上面积")
    @TableField("floors_up_area")
    private Double floorsUpArea;
    /**
     * 地下面积
     */
    @ApiModelProperty(value = "地下面积")
    @TableField("floors_down_area")
    private Double floorsDownArea;
    /**
     * 建造日期
     */
    @ApiModelProperty(value = "建造日期")
    @TableField("construction_date")
    private Date constructionDate;
    /**
     * 最大容纳人数
     */
    @ApiModelProperty(value = "最大容纳人数")
    @TableField("max_persion")
    private Integer maxPersion;

    private String imageUrl;

    private String paths;

    @ApiModelProperty(value = "消防设置数量")
    private String facilitiesNumber;

    @ApiModelProperty(value = "疏散口数量")
    private String scatteredNumber;

    @ApiModelProperty(value = "负责人")
    private String mainPerson;

    @ApiModelProperty(value = "负责人电话")
    private String mainPersonMobile;
}

